package com.module.wx.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 zzd_coupon_main
 * 
 * @author hezhengxian
 * @date 2023-03-06
 */
public class ZzdCouponMain extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private String id;

    /** 优惠券名称 */
    @Excel(name = "优惠券名称")
    private String couponName;

    /** 优惠券类型 */
    @Excel(name = "优惠券类型")
    private String couponType;

    /** 优惠券开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "优惠券开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startDate;

    /** 优惠券结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "优惠券结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endDate;

    /** 是否生效 */
    @Excel(name = "是否生效")
    private String isStart;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date crteTime;

    /** 是否有门槛 */
    @Excel(name = "是否有门槛")
    private String isSill;

    /** 门槛金额 */
    @Excel(name = "门槛金额")
    private BigDecimal sillPric;

    /** 是否为商家独用优惠券 */
    @Excel(name = "是否为商家独用优惠券")
    private String isStoreCoupon;

    /** 商家id */
    @Excel(name = "商家id")
    private String storeId;

    /** 商家名称 */
    @Excel(name = "商家名称")
    private String storeName;

    /** 是否为菜品独用优惠券 */
    @Excel(name = "是否为菜品独用优惠券")
    private String isOrderCoupon;

    /** 菜品id */
    @Excel(name = "菜品id")
    private String orderId;

    /** 菜品名称 */
    @Excel(name = "菜品名称")
    private String orderName;

    /** 优惠券发行数量 */
    @Excel(name = "优惠券发行数量")
    private Long couponCount;

    /** 优惠券领用数量 */
    @Excel(name = "优惠券领用数量")
    private Long neckCount;

    /** 优惠券剩余数量 */
    @Excel(name = "优惠券剩余数量")
    private Long leaveCount;

    /** 是否未会员专属优惠券 */
    @Excel(name = "是否未会员专属优惠券")
    private String isVipCoupon;

    /** 优惠券金额 */
    @Excel(name = "优惠券金额")
    private BigDecimal couponPric;

    /** 同一用户限领数量 */
    @Excel(name = "同一用户限领数量")
    private Long psnNeckCount;

    /** 备注 */
    @Excel(name = "备注")
    private String remaks;

    /** 满减金额 */
    @Excel(name = "满减金额")
    private BigDecimal fullDecrementPric;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setCouponName(String couponName) 
    {
        this.couponName = couponName;
    }

    public String getCouponName() 
    {
        return couponName;
    }
    public void setCouponType(String couponType) 
    {
        this.couponType = couponType;
    }

    public String getCouponType() 
    {
        return couponType;
    }
    public void setStartDate(Date startDate) 
    {
        this.startDate = startDate;
    }

    public Date getStartDate() 
    {
        return startDate;
    }
    public void setEndDate(Date endDate) 
    {
        this.endDate = endDate;
    }

    public Date getEndDate() 
    {
        return endDate;
    }
    public void setIsStart(String isStart) 
    {
        this.isStart = isStart;
    }

    public String getIsStart() 
    {
        return isStart;
    }
    public void setCrteTime(Date crteTime) 
    {
        this.crteTime = crteTime;
    }

    public Date getCrteTime() 
    {
        return crteTime;
    }
    public void setIsSill(String isSill) 
    {
        this.isSill = isSill;
    }

    public String getIsSill() 
    {
        return isSill;
    }
    public void setSillPric(BigDecimal sillPric) 
    {
        this.sillPric = sillPric;
    }

    public BigDecimal getSillPric() 
    {
        return sillPric;
    }
    public void setIsStoreCoupon(String isStoreCoupon) 
    {
        this.isStoreCoupon = isStoreCoupon;
    }

    public String getIsStoreCoupon() 
    {
        return isStoreCoupon;
    }
    public void setStoreId(String storeId) 
    {
        this.storeId = storeId;
    }

    public String getStoreId() 
    {
        return storeId;
    }
    public void setStoreName(String storeName) 
    {
        this.storeName = storeName;
    }

    public String getStoreName() 
    {
        return storeName;
    }
    public void setIsOrderCoupon(String isOrderCoupon) 
    {
        this.isOrderCoupon = isOrderCoupon;
    }

    public String getIsOrderCoupon() 
    {
        return isOrderCoupon;
    }
    public void setOrderId(String orderId) 
    {
        this.orderId = orderId;
    }

    public String getOrderId() 
    {
        return orderId;
    }
    public void setOrderName(String orderName) 
    {
        this.orderName = orderName;
    }

    public String getOrderName() 
    {
        return orderName;
    }
    public void setCouponCount(Long couponCount) 
    {
        this.couponCount = couponCount;
    }

    public Long getCouponCount() 
    {
        return couponCount;
    }
    public void setNeckCount(Long neckCount) 
    {
        this.neckCount = neckCount;
    }

    public Long getNeckCount() 
    {
        return neckCount;
    }
    public void setLeaveCount(Long leaveCount) 
    {
        this.leaveCount = leaveCount;
    }

    public Long getLeaveCount() 
    {
        return leaveCount;
    }
    public void setIsVipCoupon(String isVipCoupon) 
    {
        this.isVipCoupon = isVipCoupon;
    }

    public String getIsVipCoupon() 
    {
        return isVipCoupon;
    }
    public void setCouponPric(BigDecimal couponPric) 
    {
        this.couponPric = couponPric;
    }

    public BigDecimal getCouponPric() 
    {
        return couponPric;
    }
    public void setPsnNeckCount(Long psnNeckCount) 
    {
        this.psnNeckCount = psnNeckCount;
    }

    public Long getPsnNeckCount() 
    {
        return psnNeckCount;
    }
    public void setRemaks(String remaks) 
    {
        this.remaks = remaks;
    }

    public String getRemaks() 
    {
        return remaks;
    }
    public void setFullDecrementPric(BigDecimal fullDecrementPric) 
    {
        this.fullDecrementPric = fullDecrementPric;
    }

    public BigDecimal getFullDecrementPric() 
    {
        return fullDecrementPric;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("couponName", getCouponName())
            .append("couponType", getCouponType())
            .append("startDate", getStartDate())
            .append("endDate", getEndDate())
            .append("isStart", getIsStart())
            .append("crteTime", getCrteTime())
            .append("isSill", getIsSill())
            .append("sillPric", getSillPric())
            .append("isStoreCoupon", getIsStoreCoupon())
            .append("storeId", getStoreId())
            .append("storeName", getStoreName())
            .append("isOrderCoupon", getIsOrderCoupon())
            .append("orderId", getOrderId())
            .append("orderName", getOrderName())
            .append("couponCount", getCouponCount())
            .append("neckCount", getNeckCount())
            .append("leaveCount", getLeaveCount())
            .append("isVipCoupon", getIsVipCoupon())
            .append("couponPric", getCouponPric())
            .append("psnNeckCount", getPsnNeckCount())
            .append("remaks", getRemaks())
            .append("fullDecrementPric", getFullDecrementPric())
            .toString();
    }
}
